package Service.Impl;

import Dao.DepartmentDao;
import POJO.Department;
import POJO.Vo.DepartmentVo;
import Service.DepartmentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DepartmentServiceImpl implements DepartmentService{
    @Resource
    DepartmentDao departmentDao;

    @Override
    public List<DepartmentVo> selectDepartment() {
        return departmentDao.selectDepartment();
    }
}
